package com.tank.bean;

public class Media {
	private String id;
	private String name;
	private long length;
	private String path;
	private int status;
	public Media(){
		
	}
	public Media(String id,String name,long length,String path){
		this.id=id;
		this.name=name;
		this.length=length;
		this.path=path;
	}
	public Media(String id,String name,long length,String path,int status){
		this.id=id;
		this.name=name;
		this.length=length;
		this.path=path;
		this.status=status;
	}
	public String toString(){
		StringBuilder sb=new StringBuilder();
		sb.append("");
		return "{\"id\":\""+id+"\",\"path\":\""+path+"\",\"status\":"+status+"}";
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getLength() {
		return length;
	}
	public void setLength(long length) {
		this.length = length;
	}
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}
